﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014CD RID: 5325
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateRogueAdventureRoomScoreScRsp : IMessage<UpdateRogueAdventureRoomScoreScRsp>, IMessage, IEquatable<UpdateRogueAdventureRoomScoreScRsp>, IDeepCloneable<UpdateRogueAdventureRoomScoreScRsp>, IBufferMessage
	{
		// Token: 0x17004309 RID: 17161
		// (get) Token: 0x0600EE23 RID: 60963 RVA: 0x0027C1E3 File Offset: 0x0027A3E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateRogueAdventureRoomScoreScRsp> Parser
		{
			get
			{
				return UpdateRogueAdventureRoomScoreScRsp._parser;
			}
		}

		// Token: 0x1700430A RID: 17162
		// (get) Token: 0x0600EE24 RID: 60964 RVA: 0x0027C1EA File Offset: 0x0027A3EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateRogueAdventureRoomScoreScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700430B RID: 17163
		// (get) Token: 0x0600EE25 RID: 60965 RVA: 0x0027C1FC File Offset: 0x0027A3FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateRogueAdventureRoomScoreScRsp.Descriptor;
			}
		}

		// Token: 0x0600EE26 RID: 60966 RVA: 0x0027C203 File Offset: 0x0027A403
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRogueAdventureRoomScoreScRsp()
		{
		}

		// Token: 0x0600EE27 RID: 60967 RVA: 0x0027C20C File Offset: 0x0027A40C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRogueAdventureRoomScoreScRsp(UpdateRogueAdventureRoomScoreScRsp other) : this()
		{
			this.adventureRoomInfo_ = ((other.adventureRoomInfo_ != null) ? other.adventureRoomInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EE28 RID: 60968 RVA: 0x0027C258 File Offset: 0x0027A458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRogueAdventureRoomScoreScRsp Clone()
		{
			return new UpdateRogueAdventureRoomScoreScRsp(this);
		}

		// Token: 0x1700430C RID: 17164
		// (get) Token: 0x0600EE29 RID: 60969 RVA: 0x0027C260 File Offset: 0x0027A460
		// (set) Token: 0x0600EE2A RID: 60970 RVA: 0x0027C268 File Offset: 0x0027A468
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AdventureRoomInfo AdventureRoomInfo
		{
			get
			{
				return this.adventureRoomInfo_;
			}
			set
			{
				this.adventureRoomInfo_ = value;
			}
		}

		// Token: 0x1700430D RID: 17165
		// (get) Token: 0x0600EE2B RID: 60971 RVA: 0x0027C271 File Offset: 0x0027A471
		// (set) Token: 0x0600EE2C RID: 60972 RVA: 0x0027C279 File Offset: 0x0027A479
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600EE2D RID: 60973 RVA: 0x0027C282 File Offset: 0x0027A482
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateRogueAdventureRoomScoreScRsp);
		}

		// Token: 0x0600EE2E RID: 60974 RVA: 0x0027C290 File Offset: 0x0027A490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateRogueAdventureRoomScoreScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.AdventureRoomInfo, other.AdventureRoomInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EE2F RID: 60975 RVA: 0x0027C2E0 File Offset: 0x0027A4E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.adventureRoomInfo_ != null)
			{
				num ^= this.AdventureRoomInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EE30 RID: 60976 RVA: 0x0027C335 File Offset: 0x0027A535
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EE31 RID: 60977 RVA: 0x0027C33D File Offset: 0x0027A53D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EE32 RID: 60978 RVA: 0x0027C348 File Offset: 0x0027A548
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.adventureRoomInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.AdventureRoomInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EE33 RID: 60979 RVA: 0x0027C3A4 File Offset: 0x0027A5A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.adventureRoomInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.AdventureRoomInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EE34 RID: 60980 RVA: 0x0027C3FC File Offset: 0x0027A5FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateRogueAdventureRoomScoreScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.adventureRoomInfo_ != null)
			{
				if (this.adventureRoomInfo_ == null)
				{
					this.AdventureRoomInfo = new AdventureRoomInfo();
				}
				this.AdventureRoomInfo.MergeFrom(other.AdventureRoomInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EE35 RID: 60981 RVA: 0x0027C464 File Offset: 0x0027A664
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EE36 RID: 60982 RVA: 0x0027C470 File Offset: 0x0027A670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.adventureRoomInfo_ == null)
					{
						this.AdventureRoomInfo = new AdventureRoomInfo();
					}
					input.ReadMessage(this.AdventureRoomInfo);
				}
			}
		}

		// Token: 0x04005E25 RID: 24101
		private static readonly MessageParser<UpdateRogueAdventureRoomScoreScRsp> _parser = new MessageParser<UpdateRogueAdventureRoomScoreScRsp>(() => new UpdateRogueAdventureRoomScoreScRsp());

		// Token: 0x04005E26 RID: 24102
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005E27 RID: 24103
		public const int AdventureRoomInfoFieldNumber = 5;

		// Token: 0x04005E28 RID: 24104
		private AdventureRoomInfo adventureRoomInfo_;

		// Token: 0x04005E29 RID: 24105
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04005E2A RID: 24106
		private uint retcode_;
	}
}
